<#setting classic_compatible=true>
<#assign base=request.contextPath />
<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <!-- Meta, title, CSS, favicons, etc. -->
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
	<link rel="stylesheet" type="text/css" href="${base}/zhgl-jzstyxx-manage/css/messagePandect/messagePandect.css">
    <title>统一消息中心</title>
    <!-- 引入通用css -->
	<#include "/common/commoncss.ftl">
	
	<style>
		.nav .open>a{
			background-color:#055349 !important;
		}
	</style>
  </head>

  <body class="nav-md">
    <div class="container body">
      <div class="main_container">
      
		<!-- 页面左侧开始-->
       	<#include "/common/indexLeftMenu.ftl">
		<!--页面左侧结束 -->
		
        <!-- 页面上部 -->
        <#include "/common/indexHeader.ftl">

        <!-- 页面正文部分开始-->
        <div class="right_col" role="main" >
        	<div class="huanhe">
        		<!-- 引入各自文件 -->
        			<iframe name="i_xxzl" id="i_xxzl" src="" style="width:100%;height:99%;"frameborder="no" border="0" ></iframe>
        	</div>
		</div>
      </div>
    </div>
		
		
		<!-- 引入通用和js -->
		<#include "/common/commonjs.ftl">
		<script type="text/javascript" src="${base}/zhgl-jzstyxx-manage/js/jquery.js"></script>
		<script type="text/javascript" src="${base}/zhgl-jzstyxx-manage/js/overview/jquery-1.8.3.min.js"></script>
		<script type="text/javascript" src="${base}/zhgl-jzstyxx-manage/js/login/jquery.cookie.js"></script> 
		<script type="text/javascript" src="${base}/zhgl-jzstyxx-manage/js/login/jquery.session.js"></script> 
		<script type="text/javascript">
		function xxzl(){
			$("#i_xxzl").attr("src","${base}/zhgl-jzstyxx-manage/index/overView");//消息总览 
		}
		function zzdl(){
			$("#i_xxzl").attr("src","${base}/zhgl-jzstyxx-manage/topicQueue/page");//主题队列
		}
		function yjtzry(){
			$("#i_xxzl").attr("src","${base}/zhgl-jzstyxx-manage/warningPerson/toWarningPerson");//预警通知人员
		}
		function yjyzsz(){
			$("#i_xxzl").attr("src","${base}/zhgl-jzstyxx-manage/warningThreshold/toWarningThreshold");//预警阈值设置
		}
		function yjcl(){
			$("#i_xxzl").attr("src","${base}/zhgl-jzstyxx-manage/warning/toWarning");//预警处理
		}
		function yjxx(){
			$("#i_xxzl").attr("src","${base}/zhgl-jzstyxx-manage/exceptionMessage/toExceptionMessage");//预警信息
		}
		function xxlltj(){
			$("#i_xxzl").attr("src","${base}/zhgl-jzstyxx-manage/index/messageFlow");//消息流量统计
			var h=	$("#i_xxzl").attr("src");
		}
		function dlxntj(){
			$("#i_xxzl").attr("src","${base}/zhgl-jzstyxx-manage/index/queueProperty");//队列性能统
		}
		function yygl(){
			$("#i_xxzl").attr("src","${base}/zhgl-jzstyxx-manage/app/tosee");//应用管理
		}
		function mbgl(){
			$("#i_xxzl").attr("src","${base}/zhgl-jzstyxx-manage/template/toTemplate");//模板管理
		}
		function ggdm(){
			$("#i_xxzl").attr("src","${base}/zhgl-jzstyxx-manage/index/toDemo");//模拟数据
		}
		function sjrz(){
			$("#i_xxzl").attr("src","${base}/zhgl-jzstyxx-manage/log/toLog");//审计日志
		}
		function xgmm(){
			$("#i_xxzl").attr("src","${base}/zhgl-jzstyxx-manage/index/toChangePassword");//修改密码
		}
		function fgqh(){
			$("#i_xxzl").attr("src","${base}/zhgl-jzstyxx-manage/index/toChangeStyle");//风格切换
		}
		function ditu(){
			$("#i_xxzl").attr("src","${base}/zhgl-jzstyxx-manage/index/toDitu");//地图
		}
		function email(){
			$("#i_xxzl").attr("src","${base}/zhgl-jzstyxx-manage/index/toEmail");//邮件
		}
		function word(){
			$("#i_xxzl").attr("src","${base}/zhgl-jzstyxx-manage/index/toWord");//电子合同
		}
		function fuwenben(){
			$("#i_xxzl").attr("src","${base}/zhgl-jzstyxx-manage/index/toFWB");//富文本
		}
		
		//系统一加载调用消息总览页面
		$("document").ready(function(){
			$("#i_xxzl").attr("src","${base}/zhgl-jzstyxx-manage/index/overView");
		}); 	
		
				
		//父级页面修改src实现拓扑图跳转到模板管理页面
		function changeSrc(name){
			 $("#i_xxzl").attr("src","${base}/zhgl-jzstyxx-manage/topicQueue/page");//主题队列 
			/* $("#ztdl_in").trigger("click"); */
			$("#jcClass").removeClass("active");
			$("#zhankai31").removeClass("fa-chevron-up");
			$("#zhankai31").addClass("fa-chevron-down");
			$("#jsClassUl").css('display','none');
			$("#ztClass").addClass("active");
			//把应用模块传入的应用名称设置为父级全局变量，便于主题队列模块获取		
			appName=name;
			parent.appName=appName;
		}		
	</script>
	<script type="text/javascript">
		//获取用户对象
		$("document").ready(function(){
			var username=$.session.get('username');
			var right=$.session.get('right');
			giveuser(right,username);
		});
		//给标签赋登录用户
		function giveuser(right,username){
			$("#userid").html(right);
			$("#username").html(username);
			$("#who").html(username);
		}
		
		//退出登录
		$("#exitProject").click(function(){
			$.session.remove('username');
			$.session.remove('right');
			top.location.href="/zhgl-jzstyxx-manage/user/loginout";
		});
		
		$(".huanhe").mouseover(function(){
			$("#userpeople").removeClass("open");
		});
	</script>
  </body>
</html>
